package com.easysoft.framework.article.mapper;

import com.easysoft.framework.article.model.SysProblemQuery;
import com.easysoft.framework.article.model.SysProblemView;
import com.easysoft.framework.beans.Page;
import com.easysoft.framework.stereotype.MyBatisRepository;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@MyBatisRepository("mapper.SysProblemMapperExtd")
public interface SysProblemMapperExtd extends SysProblemMapper {
    List<SysProblemView> selectSysProblemByPage(@Param("page") Page page, @Param("query") SysProblemQuery query);

    int selectCountAllProblem(@Param("query") SysProblemQuery query);
}
